<?php
send_message();
//Stop Refresh Post
$_SESSION['post_uniq'] = uniqid();
//
?>
<div class="container">
	<div class="content_mb">
        <?php include_once 'inc/left.php';?>
		<div class="content_mb_r">
			<?php include_once 'inc/post_property_top_center.php';?>
                     <div style="margin-left: 20px;">
				<div class="title_mb_r3"><font style="float:left;">[Soạn thư]</font></div>
				<form name="send" action="" method="post">
                <div class="box_st">
					<ul>
						<?php if($success){?>
                        <div style="float: left; font-size: 12px; border: 2px solid orange; padding: 5px; font-weight: bold; width: 98%; text-align:center; display:inline; margin-bottom:5px;"><?=$success?></div>
                        <? } ?>
                        
						<li>
							<div class="line_st_l">[Người nhận]:</div>
							<div class="line_st_r"><input type="text" name="to" value="<?=$_POST["to"]?>" style="width:90%;" /><br />[Để gửi cho nhiều người thì giữa các tên đăng nhập là dấu “ , ”]<br /><?=$err["to"]?></div>
						</li>
						<li>
							<div class="line_st_l">[Tiêu đề]:</div>
							<div class="line_st_r"><input type="text" name="subject" value="<?=htmlentities_utf8($_POST["subject"])?>" style="width:90%;" /><br /><?=$err["subject"]?></div>
						</li>
						<li>
							<div class="line_st_l">[Nội dung]:</div>

							<div class="line_st_r"><textarea name="content" rows="10" cols="48" style="width:90%;"> <?=$_POST["content"]?></textarea><br /><?=$err["content"]?></div>
						</li>
						<li>
							<div class="line_st_l">&nbsp;</div>
							<div class="line_st_r2"><input type="hidden" name="post_uniq" value="<?php echo $_SESSION['post_uniq']; ?>" /><input type="image" name="send_message" value="okie" src="../images/btn_send.gif" /></div>
						</li>
                        
					</ul>
				</div>
				
				</form>
			
		</div>
		
	</div>
</div>
</div>